#include "..\System.h"

//+ boxing/unboxing
internal System_Object *___boxuint(uint value)
{
	System_UInt32 *box = new(,System_UInt32);
	box->m_value = value;
	return (System_Object *)box;
}

internal uint ___unboxuint(System_Object *value)
{
	return ((System_UInt32 *)value)->m_value;
}

//+ type
Implement_Type(System_UInt32,System_Object,)
Implement_DefaultCtor(System_UInt32,System_Object)
System_Type _uintType = { (__typeCtor)null, L"uint", (__typeBoxer)&___boxuint, (__typeUnboxer)&___unboxuint, (char*)default(uint), _TypeFlags_Value };
Declare_System(System_UInt32, uint)
Implement_System(System_UInt32, uint)